public class Dog {
    public String name;
    public int age;
    public String color;
    public void eat(){
        System.out.println(this.color+"的"+this.name+"在吃狗粮");
    }

    public  void barks(){
        System.out.println(this.color+"的"+this.name+"在汪汪汪");
    }
    public void wag(){
        System.out.println(this.color+"的"+this.name+"在摇尾巴");
    }
}
